#ifndef BLOOM_FILTER_H_
#define BLOOM_FILTER_H_

/**
 * Define Bloom Filter
 */
#define BLOOM_FILTER_SIZE 16
typedef char bloom_filter_t[BLOOM_FILTER_SIZE]; 

/**
 * Functions related to Bloom Filter
 */
int is_subfilter(bloom_filter_t filter1, bloom_filter_t filter2);  
void add_bloom_filter(bloom_filter_t filter1, bloom_filter_t filter2); 
void copy_bloom_filter(bloom_filter_t dest, bloom_filter_t src); 
void init_bloom_filter(bloom_filter_t filter); 
void bloom_filter_to_hex_string(bloom_filter_t filter, char * buf, int buf_size); 
void hex_string_to_bloom_filter(char * buf, bloom_filter_t filter); 


#endif /*BLOOM_FILTER_H_*/
